package com.fz.entity;

import com.fz.core.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author fz
 * @since 2024-08-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Visitor extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 目的
     */
    private String type;

    /**
     * 时效
     */
    private String aging;

    /**
     * 访客数量
     */
    private Integer count;

    /**
     * 具体描述
     */
    private String content;

    /**
     * 提交时间
     */
    private LocalDateTime date;

    /**
     * 申请用户id
     */
    private Integer userId;

    private Integer deleted;

    /**
     * 状态
     */
    private Integer status;
    private String username;

    public Visitor(Long id, Integer status,Integer statu) {
        super(id);
        this.status = statu;
    }
    public Visitor(Long id,Integer status)
    {
        super(id);
        this.status=status;
    }
    public Visitor(String type,String aging,Integer count,String content,Integer userId,String username){
        this.type=type;
        this.aging=aging;
        this.count=count;
        this.content=content;
        this.userId=userId;
        this.username=username;
    }

}
